package sim;

public class SimulationBeginEvent extends Event{
	
	private DES01 des;
	
	public SimulationBeginEvent(DES01 des, long eventTime) {
		super(eventTime);
		this.des = des;
	}

	@Override
	public void process() {
		System.out.println("B-"+getTime());
		des.simulator.pushNewEvent(new CustomerArrivalEvent(des, des.simulator.getSimTime() + des.params.interArrivalTime));
	}

	

}
